# 1.导包
import unittest

import app
from lib.HTMLTestRunner_PY3 import HTMLTestRunner
from script.test_dep import TestDep
from script.test_emp import TestEmp
from script.test_login import TestLogin

suite = unittest.TestSuite()
suite.addTest(unittest.makeSuite(TestDep))
suite.addTest(unittest.makeSuite(TestEmp))
suite.addTest(unittest.makeSuite(TestLogin))


report_path = app.PROJECT_PATH + "/report/report.html"


with open(report_path,mode="wb") as f:


    runner = HTMLTestRunner(f)
    runner.run(suite)